from playing_card_model import FrenchDeck
from random import choice


deck = FrenchDeck()
print(len(deck))

print(deck[0])
print(deck[-1])
print(choice(deck))
print(choice(deck))

print(deck[:3])

#反向迭代
for card in reversed(deck):
    print(card)